@extends("h5.layouts.main")
@section('content')


    <link rel="stylesheet" type="text/css" href="css/myset.css">
<?php
$user=App\admin\Service\OA::$user->getModel();

?>
<!----------我的页面---------->
<div id="mysetPage">
    <div id="mysetTitle">
        <img src="<?= $user->getHead() ?>">
        <div class="loginTitle">
            <span class="name"><?= $user->name  ?></span>
            <div  class="typespan"><?= $user->getTypeName() ?></div>
                
        </div>
         
    </div>
    <div style="margin-top: 10px;" class="myTable" id="menu-1">
    </div>
    <div style="margin-top: 10px;" class="myTable" id="menu-2">
    </div>
    <div style="margin-top: 10px;" class="myTable" id="menu-3">
    </div>
    <div style="height:70px"></div>

    <!--底部菜单-->
    <div id="footer">
        <button id="toHomePage">
            <img src="images/home_01.png">
            <p>首页</p>
        </button>
        <button id="toNewsPage">
            <img src="images/news_01.png">
            <p>资讯</p>
        </button>
        <button id="toOrderPage">
            <img src="images/order_01.png">
            <p>订单</p>
        </button>
        <button id="toWorkPage" style="display:none;">
            <img src="images/icon_work.png">
            <p>工作</p>
        </button>
        <button id="toMessagePage">
            <img src="images/message_01.png">
            <p>消息</p>
        </button>
        <button class="click" id="toMysetPage">
            <img src="images/mine.png">
            <p>我的</p>
        </button>
    </div>
</div>
<!----------我的页面---------->





<!----------错误提示---------->
<div id="errMsg"></div>
<!----------错误提示---------->
</body>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/mysetPageChange.js"></script>
<script type="text/javascript" src="js/myset.js"></script>
<script>
    (function(){
        setFootBtn(); //员工主体，更换订单图标
        getMyMenus(); //动态获取菜单
        getUserInfo(); //获取用户信息
    })();
</script>
@stop